-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environments #145
Environments #145
Conversation
My thinking on |
@mtfishman In terms of I was originally defining
at the moment so a standard |
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #145 +/- ##
==========================================
+ Coverage 73.61% 73.87% +0.25%
==========================================
Files 71 75 +4
Lines 4146 4256 +110
==========================================
+ Hits 3052 3144 +92
- Misses 1094 1112 +18 ☔ View full report in Codecov by Sentry. |
Can't you specify a different default partitioning in |
Yeah good point: I can make the choice |
Looks good, thanks! One more step towards BP-based DMRG/TDVP... |
This PR adds the functionality
environment(tn::AbstractITensorNetwork, verbs::Vector)
to the codebase with returns the environment (related to the derivative) of anITensorNetwork
with respect to some subset of its vertices.Algorithms are defined for getting the environments/derivates which currently include either exact contraction or belief propagation. This new functionality has been hooked to interface
environment(f::AbstractFormNetwork, state_vertices::Vector)
.Testing it added for this within
test/test_forms.jl